package com.skhu.as.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.skhu.as.domain.ProcessStatus;

public class ProcessStatusM implements RowMapper {

	@Override
	public Object mapRow(ResultSet rs, int rowNum) throws SQLException {
		
		ProcessStatus processStatus = new ProcessStatus();
		
		processStatus.setProcessStatusNo(rs.getInt("process_status_no"));
		processStatus.setProcessStatus(rs.getString("process_status"));
		
		return processStatus;
	}
	
}
